# -*- coding: utf-8 *-*


class BlockHandler:

    blocks = {}

    @staticmethod
    def register(name, block):
        BlockHandler.blocks[name] = block

    @staticmethod
    def get(name):
        return BlockHandler.blocks[name]
